package com.jumi.microservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author ssk
 * @create 2020/7/16 16:41
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.jumi.microservice.*.mapper")
@ServletComponentScan
@EnableSwagger2
public class SupplyProviderApplication {
    public static void main(String[] args){
        SpringApplication.run(SupplyProviderApplication.class, args);
    }
}
